package com.hll.user_service.service;

import com.hll.user_service.mapper.UserMapper;
import com.hll.user_service.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: Mr.Hu
 * @create: 2021-03-15 13:59
 */
@Service
public class UserServiceImpl implements UserService {
  @Autowired private UserMapper userMapper;

  @Override
  public List<User> findAll() {
    return userMapper.findAll();
  }
}
